home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: PfTypLs.h.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emith.dll: 2.33
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODPlatformTypeList_h
- #define SOM_ODPlatformTypeList_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODPlatformTypeList
- #define ODPlatformTypeList SOMObject
- #endif
- #include <ODObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef SOMClass
- #define SOMClass SOMObject
- #endif /* SOMClass */
- #ifndef SOMObject
- #define SOMObject SOMObject
- #endif /* SOMObject */
- #ifndef ODFrame
- #define ODFrame SOMObject
- #endif /* ODFrame */
- #ifndef ODFacet
- #define ODFacet SOMObject
- #endif /* ODFacet */
- #ifndef ODObject
- #define ODObject SOMObject
- #endif /* ODObject */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODPlatformTypeList
- #define ODPlatformTypeList SOMObject
- #endif /* ODPlatformTypeList */
- #ifndef ODPlatformTypeListIterator
- #define ODPlatformTypeListIterator SOMObject
- #endif /* ODPlatformTypeListIterator */
-
- /*
- * End of user-defined types.
- */
-
- #define ODPlatformTypeList_MajorVersion 1
- #define ODPlatformTypeList_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODPlatformTypeListClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define ODPlatformTypeList_classObj somNewClassReference(ODPlatformTypeList)
- #define _ODPlatformTypeList ODPlatformTypeList_classObj
- #define ODPlatformTypeListCClassData ODPlatformTypeListClassData
- #define ODPlatformTypeListNewClass(major,minor) somNewVersionedClassReference(ODPlatformTypeList,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define ODPlatformTypeListMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODPlatformTypeListClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken AddLast;
- somMToken Remove;
- somMToken Contains;
- somMToken Count;
- somMToken CreatePlatformTypeListIterator;
- somMToken reserved1;
- somMToken reserved2;
- } SOMDLINK ODPlatformTypeListClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(ODPlatformTypeList_Class_Source) && !defined(SOM_Module_pftypls_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list ODPlatformTypeListClassData
- #endif
- #endif
-
-
- /*
- * New macro for ODPlatformTypeList
- */
- #define ODPlatformTypeListNew() somNewObject(ODPlatformTypeList)
-
- /*
- * Override method: somUninit
- */
- #define ODPlatformTypeList_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * New Method: AddLast
- */
- typedef void (SOMLINK *somTD_ODPlatformTypeList_AddLast)(ODPlatformTypeList *somSelf, Environment *ev,
- ODPlatformType type);
- #define somMD_ODPlatformTypeList_AddLast "::ODPlatformTypeList::AddLast"
- #define ODPlatformTypeList_AddLast(somSelf,ev,type) \
- (SOM_Resolve(somSelf, ODPlatformTypeList, AddLast) \
- (somSelf,ev,type))
- #ifndef SOMGD_AddLast
- #if (defined(_AddLast) || defined(__AddLast))
- #undef _AddLast
- #undef __AddLast
- #define SOMGD_AddLast 1
- #else
- #define _AddLast ODPlatformTypeList_AddLast
- #endif /* _AddLast */
- #endif /* SOMGD_AddLast */
-
- /*
- * New Method: Remove
- */
- typedef void (SOMLINK *somTD_ODPlatformTypeList_Remove)(ODPlatformTypeList *somSelf, Environment *ev,
- ODPlatformType type);
- #define somMD_ODPlatformTypeList_Remove "::ODPlatformTypeList::Remove"
- #define ODPlatformTypeList_Remove(somSelf,ev,type) \
- (SOM_Resolve(somSelf, ODPlatformTypeList, Remove) \
- (somSelf,ev,type))
- #ifndef SOMGD_Remove
- #if (defined(_Remove) || defined(__Remove))
- #undef _Remove
- #undef __Remove
- #define SOMGD_Remove 1
- #else
- #define _Remove ODPlatformTypeList_Remove
- #endif /* _Remove */
- #endif /* SOMGD_Remove */
-
- /*
- * New Method: Contains
- */
- typedef ODBoolean (SOMLINK *somTD_ODPlatformTypeList_Contains)(ODPlatformTypeList *somSelf, Environment *ev,
- ODPlatformType type);
- #define somMD_ODPlatformTypeList_Contains "::ODPlatformTypeList::Contains"
- #define ODPlatformTypeList_Contains(somSelf,ev,type) \
- (SOM_Resolve(somSelf, ODPlatformTypeList, Contains) \
- (somSelf,ev,type))
- #ifndef SOMGD_Contains
- #if (defined(_Contains) || defined(__Contains))
- #undef _Contains
- #undef __Contains
- #define SOMGD_Contains 1
- #else
- #define _Contains ODPlatformTypeList_Contains
- #endif /* _Contains */
- #endif /* SOMGD_Contains */
-
- /*
- * New Method: Count
- */
- typedef ODULong (SOMLINK *somTD_ODPlatformTypeList_Count)(ODPlatformTypeList *somSelf, Environment *ev);
- #define somMD_ODPlatformTypeList_Count "::ODPlatformTypeList::Count"
- #define ODPlatformTypeList_Count(somSelf,ev) \
- (SOM_Resolve(somSelf, ODPlatformTypeList, Count) \
- (somSelf,ev))
- #ifndef SOMGD_Count
- #if (defined(_Count) || defined(__Count))
- #undef _Count
- #undef __Count
- #define SOMGD_Count 1
- #else
- #define _Count ODPlatformTypeList_Count
- #endif /* _Count */
- #endif /* SOMGD_Count */
-
- /*
- * New Method: CreatePlatformTypeListIterator
- */
- typedef ODPlatformTypeListIterator* (SOMLINK *somTD_ODPlatformTypeList_CreatePlatformTypeListIterator)(ODPlatformTypeList *somSelf, Environment *ev);
- #define somMD_ODPlatformTypeList_CreatePlatformTypeListIterator "::ODPlatformTypeList::CreatePlatformTypeListIterator"
- #define ODPlatformTypeList_CreatePlatformTypeListIterator(somSelf,ev) \
- (SOM_Resolve(somSelf, ODPlatformTypeList, CreatePlatformTypeListIterator) \
- (somSelf,ev))
- #ifndef SOMGD_CreatePlatformTypeListIterator
- #if (defined(_CreatePlatformTypeListIterator) || defined(__CreatePlatformTypeListIterator))
- #undef _CreatePlatformTypeListIterator
- #undef __CreatePlatformTypeListIterator
- #define SOMGD_CreatePlatformTypeListIterator 1
- #else
- #define _CreatePlatformTypeListIterator ODPlatformTypeList_CreatePlatformTypeListIterator
- #endif /* _CreatePlatformTypeListIterator */
- #endif /* SOMGD_CreatePlatformTypeListIterator */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODPlatformTypeList_InitObject ODObject_InitObject
- #define ODPlatformTypeList_HasExtension ODObject_HasExtension
- #define ODPlatformTypeList_AcquireExtension ODObject_AcquireExtension
- #define ODPlatformTypeList_ReleaseExtension ODObject_ReleaseExtension
- #define ODPlatformTypeList_Purge ODObject_Purge
- #define ODPlatformTypeList_IsEqualTo ODObject_IsEqualTo
- #define ODPlatformTypeList_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODPlatformTypeList_somInit SOMObject_somInit
- #define ODPlatformTypeList_somInit SOMObject_somInit
- #define ODPlatformTypeList_somDuplicateReference SOMObject_somDuplicateReference
- #define ODPlatformTypeList_somCompareReference SOMObject_somCompareReference
- #define ODPlatformTypeList_somRelease SOMObject_somRelease
- #define ODPlatformTypeList_somFree SOMObject_somFree
- #define ODPlatformTypeList_somCanDelete SOMObject_somCanDelete
- #define ODPlatformTypeList_somGetClass SOMObject_somGetClass
- #define ODPlatformTypeList_somGetClassName SOMObject_somGetClassName
- #define ODPlatformTypeList_somGetSize SOMObject_somGetSize
- #define ODPlatformTypeList_somIsA SOMObject_somIsA
- #define ODPlatformTypeList_somRespondsTo SOMObject_somRespondsTo
- #define ODPlatformTypeList_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODPlatformTypeList_somDispatch SOMObject_somDispatch
- #define ODPlatformTypeList_somClassDispatch SOMObject_somClassDispatch
- #define ODPlatformTypeList_somCastObj SOMObject_somCastObj
- #define ODPlatformTypeList_somResetObj SOMObject_somResetObj
- #define ODPlatformTypeList_somPrintSelf SOMObject_somPrintSelf
- #define ODPlatformTypeList_somDumpSelf SOMObject_somDumpSelf
- #define ODPlatformTypeList_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODPlatformTypeList_h */
-